package scau.jump.securitytrace.service;

import java.util.List;

import com.securitytrace.model.Role;

public interface RoleService {
	
	public void add(Role role);
	
	public long getTotalCount();
	
	public List<Role> getListByPage(int start, int pageSize);
	
	public boolean exist(long id);
	
	public List<Role> getList();
	
	public Role getById(long id);
	
	public void deleteById(long id);
	
	public void update(Role role);
}
